package com.axiyue.trip.response;

import java.util.ArrayList;
import java.util.List;

public class CitySpecTicket {

	private String fromCityName;
	private String toCityName;
	private List<SpecTicket> specTicket;

	public String getFromCityName() {
		return fromCityName;
	}

	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}

	public String getToCityName() {
		return toCityName;
	}

	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}

	public List<SpecTicket> getSpecTicket() {
		return specTicket;
	}

	public void setSpecTicket(List<SpecTicket> specTicket) {
		this.specTicket = specTicket;
	}

	public void addSpecTicket(SpecTicket specTicketObj) {
		if(this.specTicket == null)
		{
			this.specTicket = new ArrayList<SpecTicket>();
		}
		this.specTicket.add(specTicketObj);
	}

}
